package com.CST.dto.zx;

import com.CST.entity.zx.ZXAllocation;
import com.CST.entity.zx.ZxViewPerson;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel("新增项目信息和编辑项目信息")
public class ProjectDTO implements Serializable {
    @ApiModelProperty("财务编码")
    private String financialCode;
    @ApiModelProperty("项目编码")
    private String projectCode;
    @ApiModelProperty("是否封存")
    private Integer isClose;
    @ApiModelProperty("项目类别编号")
    private String entryId;
    @ApiModelProperty("项目类别名称")
    private String entryName;
    @ApiModelProperty("项目简称")
    private String financialName;//项目简称
    @ApiModelProperty("项目全称")
    private String projectInfo;
//    @ApiModelProperty("总金额")
//    private BigDecimal total;
    @ApiModelProperty("分批拨款")
    private List<ZXAllocation> allocations;
    @ApiModelProperty("负责人ID")
    private String userId;
    @ApiModelProperty("负责人")
    private String userName;
    @ApiModelProperty("科室编码")
    private String deptCode;
    @ApiModelProperty("科室编码")
    private String deptName;
    @ApiModelProperty("往期收入")
    private BigDecimal income;

    @ApiModelProperty("可查看人列表")
    private List<ZxViewPerson> viewPersons;
}
